#ifndef _BILLH_
#define _BILLH_

struct billnode
{
	int roomId;
	int price;
	int yingPrice;
	int realPrice;
	int cashPledge;
	int change;
	int status;
	char inDay[12];
	char outDay[12];
	struct billnode *next;

};
typedef struct billnode bill;

int write_bill(bill *r);

int write_bill_all(bill *r);

bill* read_bill();

int find_bill_roomId();

int find_bill_inDay();

int display_bill(bill *head);

void backup_bill();

int check_out_rz();

int check_out_yy();

int check_out_hf();

int keep_room_bill();

#endif